QGrid
Drag and Drop
|
|
| QG_GetDragOptions(areaRef; dragOptions; caretWidth; caretColor; caretTime):errorCode | |||
|
|
areaRef | Longint | QGrid area reference |
|
|
dragOptions | Longint | Drag and drop option flags |
|
|
caretWidth | Longint | Drop caret width |
|
|
caretColor | Longint | Drop caret color |
|
|
caretTime | Longint | Drop caret blinking interval |
|
|
error | Longint | Error result |
Returns the current drag and drop options for a QGrid plug-in area.
Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.
Parameter dragOptions receives the user drag'n'drop options. To see how this value is calculated see the QG_SetDragOptions method.
Parameter caretWidth receives the insertion caret width in pixels.
Parameter caretColor receives the insertion caret color expressed in 4D's RGB color notation (0x00RRGGBB - see SET RGB COLORS in 4D's documentation).
Parameter caretTime receives the caret blinking interval expressed in ticks (1 tick = 1/60th of the second).
Example
C_LONGINT($err;$options;$caretWidth;$caretColor;$caretTime) $err:=QG_GetDragOptions (xGrid;$options;$caretWidth;$caretColor;$caretTime)If ($err # qg_noErr) ` Handle the errorEnd if |
Related commands
| QG_SetDragOptions | Configures drag'n'drop options for a QGrid plug-in area |